package com.huanshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 幻世
 * @since 2023-10-09
 */
@Getter
@Setter
  @TableName("oms_cart")
@ApiModel(value = "OmsCart对象", description = "")
public class OmsCart implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      private Long productId;

      private Long memberId;

      @ApiModelProperty("购买数量")
      private Integer productQuantity;

      @ApiModelProperty("添加到购物车的价格")
      private BigDecimal productPrice;

      @ApiModelProperty("商品主图")
      private String productPic;

      @ApiModelProperty("商品名称")
      private String productName;

      @ApiModelProperty("商品副标题（卖点）")
      private String productSubTitle;

      @ApiModelProperty("会员昵称")
      private String memberNickname;

      @ApiModelProperty("创建时间")
      private LocalDateTime createDate;

      @ApiModelProperty("修改时间")
      private LocalDateTime modifyDate;

      @ApiModelProperty("是否删除")
      private Integer deleteStatus;


}
